import unittest
from HTMLTestRunner import HTMLTestRunner

# from cases.changepass import DataTest2
from cases.login import DataTest1

if __name__ == "__main__":
    # unittest.main()
    suite = unittest.TestLoader().loadTestsFromTestCase(DataTest1)
    # suite.addTests(unittest.TestLoader().loadTestsFromTestCase(DataTest2))
    with open(r'..\report\Report.html', 'w', encoding='utf8') as file:
        HTMLTestRunner(stream=file, verbosity=2, title='登录模块_测试报告', description='测试报告').run(suite)
